package com.blacksheep.mtm.dao;

import com.blacksheep.mtm.pojo.manager.TbBoxDetails;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface TbBoxDetailsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TbBoxDetails record);

    int insertSelective(TbBoxDetails record);

    TbBoxDetails selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbBoxDetails record);

    int updateByPrimaryKey(TbBoxDetails record);

    int deleteByBindId(int bindId);

    List<String> selectCodeListByBindId(int bindId);

    TbBoxDetails selectOneByMinTimeAndCode(@Param("code")String code, @Param("minDate") String minDate, @Param("maxDate")String maxDate);
}